package com.ztgf.message.model.enums;

/**
 * @author YUE
 * @create 2020-06-08 15:50
 */
public enum  MessageEnum {
    //消息类型
    SYS_MESSAGE(0,"系统消息"),
    SERVER_MESSAGE(1,"服务消息"),

    //消息跳转类型
    MESSAGE_SHOW(0,"只是展示消息"),
    ORDER_MESSAGE(1,"订单消息"),
    INVOICE_MESSAGE(2,"发票消息"),
    LOGISTICS_MESSAGE(3,"物流消息"),
    SIGN_CONTACT_MESSAGE(4,"签署合同"),
    COMPLAINTS_MESSAGE(5,"投诉建议消息"),
    TIP_ADVICE_ARRIVAL_MESSAGE(6,"到货提示"),
    URGE_SHIPMENTS_MESSAGE(7,"催促发货"),
    AFTER_SALE_ORDER(8,"售后订单消息"),
    INVENTORY_NUMBER_WARNING(9,"库存报警"),
    ORDER_STATUS_CHANGE(10,"订单状态改变"),
    ORDER_SING_ABANDON(11,"签署废弃合同"),
    SHOP_PAY_TYPE_CHANGE(12,"店铺支付类型发生改变"),
    PURCHASE_STATUS_CHANGE(13,"询盘订单报价"),
    PUBLISH_PURCHASE(13,"发布询盘订单"),



    SHOP_TYPE_1(1,"买家"),
    SHOP_TYPE_2(2,"卖家"),

    UNREAD_MESSAGE(0,"未读消息"),
    READ_MESSAGE(1,"已读消息"),

    ;
    private int code;
    private String msg;

    MessageEnum() {
    }

    MessageEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }}
